package cn.cy.behavior.mediator.general;

/**
 * @author yangxq
 * @desc ChatApp
 * @date 2025-05-10
 */
public class GeneralClient {

    public static void main(String[] args) {
        User user1 = new User("Alice");
        User user2 = new User("Bob");

        user1.sendMessage("Hello, Bob!", user2);
        user2.sendMessage("Hi, Alice!", user1);
    }

}
